package cn.smartopen.aispace.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import cn.smartopen.aispace.dto.AppIdServiceUserDto;
import cn.smartopen.aispace.entity.AppidEntity;


public interface AppIdMapper {

    public void createAppidEntity(AppidEntity appidEntity);

    public Long getServiceUserAppIdNum(Long serviceUserPkId);

    public AppIdServiceUserDto getAppIdAndServiceUserInfoByAppId(@Param("app_id") String appId);
    
    public ArrayList<AppidEntity> selectAppIdListByServiceUserPublicKey(@Param("public_key") String publicKey);

    public void deleteAppIdByPkIdAndPublicKey(@Param("pk_id") Long pkId,@Param("public_key") String publicKey);

}
